<%@ page contentType="text/html;charset=UTF-8" %> 
<%@ include file="/include.inc.jsp"%>
<c:import url="../../pager/pagerForm.jsp"></c:import>


<form method="post" rel="pagerForm" action="${ctx}/sysPostType/list" onsubmit="return navTabSearch(this)">
	<div class="pageHeader">
	    <div class="searchBar">
	    	<table class="searchContent">
				<tr>
					<td>
						岗位名称：<input type="text" name=arg value="${vo.arg}"/>
					</td>
				</tr>
			</table>
			<div class="subBar">
				<ul>
					<li><div class="buttonActive"><div class="buttonContent"><button type="submit">查询</button></div></div></li>
				</ul>
			</div>
		</div>
	</div>
</form>

<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
		<shiro:hasPermission name="sysPostType:add">
			<li><a class="add" href="#" onclick="hrefEdit_OnClick('${ctx}/sysPostType/edit','-1')"><span>添加</span></a></li>
		</shiro:hasPermission>
		<shiro:hasPermission name="sysPostType:del">
			<li><a class="delete" href="#" onclick="hrefDel_OnClick('${ctx}/sysPostType/del','checkboxsysPostTypeid')"  title="确定要删除吗?"><span>删除</span></a></li>
		</shiro:hasPermission>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="138" id="table1">
		<thead>
			<tr>
				<th width="40" align="center">
					<input type="checkbox" name="all" onclick="checkAll(this,'checkboxsysPostTypeid')" title="全选"/>
				</th>
				<th width="80">操作</th>
				<th>岗位编码</th>
				<th>岗位名称</th>
				<th>基本工资</th>
				<th>法定假日工资系数</th>
				<th>顺序</th>
			</tr>
		</thead>
		<tbody>
			<c:forEach items="${sysPostTypelist}" var="postType">
				<tr target="sid_postType" rel="${postType.id}">
					<td align="center">
						<c:if test="${postType.id != 1}">
                     		<input type="checkbox" name="checkboxsysPostTypeid" value="${postType.id}" onclick="checkbox_onclick(this)"/>
                     	</c:if>
                	</td>
					<td>
						<shiro:hasPermission name="sysPostType:edit">
							<a class="general" href="#" onclick="hrefEdit_OnClick('${ctx}/sysPostType/edit','${postType.id}')">修改</a>
						</shiro:hasPermission>
					</td>
					<td>${postType.typeCode}</td>
					<td>${postType.typeName}</td>
					<td>${postType.basicSalary}</td>
					<td>${postType.performance}</td>
					<td>${postType.showOrder}</td>
				</tr>
			</c:forEach>
		</tbody>
	</table>
    <c:import url="../../pager/panelBar.jsp"></c:import>
</div>